package com.hoshiicloud.saleorder.param;

import com.hoshiicloud.common.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 查询支付订单参数
* </p>
* @author zhangshuhu
* @since 2019-06-03
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="查询支付订单", description="查询支付订单")
public class PayorderQueryParam extends PageParam {

    @ApiModelProperty(value = "流水ID  来源 paylist")
    private Long payListId;

    @ApiModelProperty(value = "买家ID")
    private Long userId;

    @ApiModelProperty(value = "支付订单号")
    private String payOrderNo;

    @ApiModelProperty(value = "1-消费 2-退款")
    private Integer type;

    @ApiModelProperty(value = "支付日期时间")
    private LocalDateTime payTime;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "修改人")
    private String updatedBy;

    @ApiModelProperty(value = "状态 1-t已成交 0-未成交")
    private Integer status;
}
